<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../tpl/head.jsp"%>
<link rel="stylesheet" href="statics/css/secondarytitle.css">
<link rel="stylesheet" href="statics/css/ExportBusiness/tpl/newupshipmentdetails.css">
<div class="layui-fluid">
    <div class="layui-card">
        <div class="header">
            <img class="img " src="statics/images/titheader.svg">
            <span>出运明细</span>
        </div>
        <div class="layui-card-body">
            <form class="layui-form" action="" lay-filter="editor-form" id="editor-form">


                <%--                start--%>
                <dl class="layui-row sk_row">
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            客户名称
                        </div>
                        <div class="layui-col-xs8">
                            <input type="text" name="customerName" autocomplete="off" class="layui-input">
                        </div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            出运日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="time" lay-verify="required|date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            发票编号
                        </div>
                        <div class="layui-col-xs8">  <input type="text" name="billNo" autocomplete="off" class="layui-input" lay-verify="required"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            币种
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="currency" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            汇率
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="usdRate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            人民币汇率
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="rmbRate" autocomplete="off" class="layui-input" lay-verify="required|number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            起运地
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="transitPlaceName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            目的地
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="destinationName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            运输方式
                        </div>
                        <div class="layui-col-xs8">  <input type="text" name="modeOfTransport" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            预收款类型
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="paymentMethodName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>价格术语</text>
                        </div>
                        <div class="layui-col-xs8">  <input type="text" name="priceTermsName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3 Authority-Label">
                        <div class="layui-col-xs4 text-right padding-right">
                            发票总额
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="totalInvoiceAmount" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            制单日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="createDate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            销售合同号
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="salesContractNo" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            客户合同号
                        </div>
                        <div class="layui-col-xs8"><input class="layui-input" type="text"  name="customerContractNo" autocomplete="off"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            业务员
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="salesmanName" autocomplete="off"   class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            业务模式
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="businessModelName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            货号日期
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="articleNumberDate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            仓库
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="warehouseName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            账期
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="accountingPeriod" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            出运计划号
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="carryPlanNo" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text class="text-red">预计开船日期</text>
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="actualTimeDismissal" id="actualTimeDismissal" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text class="text-red">预计到达日期ETA</text>
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="estimatedArrivalDate" id="estimatedArrivalDate" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>货柜型号</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="containerType" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text class="text-red">货柜数量</text>
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="numberOfContainers" id="numberOfContainers" autocomplete="off" class="layui-input" lay-verify="number"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text class="text-red">进仓装柜日期</text>
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="loadingTime" id="wldate" lay-verify="date" autocomplete="off" class="layui-input starttime" placeholder="年 - 月 - 日"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            签约公司
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="signingCompanyName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            银行
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="bankName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            操作员
                        </div>
                        <div class="layui-col-xs8"> <input type="text" name="operator" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            验货进度
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="inspectionProgress" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            客户等级
                        </div>
                        <div class="layui-col-xs8"><input type="text" name="customerLevelName" autocomplete="off" class="layui-input"></div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text class="text-red">是否报关</text>
                        </div>
                        <div class="layui-col-xs8">
                            <select lay-search name="isDeclare" id="isDeclare" lay-verify="required">
                                <option value=""></option>&ndash;
                                <option value="1">是</option>&ndash;
                                <option value="0">否</option>&ndash;
                            </select>
                        </div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            <text>是否走信保订单</text>
                        </div>
                        <div class="layui-col-xs8">
                            <select lay-search name="whetherCreditGuarantee" id="whetherCreditGuarantee" lay-filter="whetherCreditGuarantee" lay-verify="required">
                                <option value=""></option>
                                <option value="1">是（采购抬头：上海沣奇）</option>
                                <option value="2">是（采购抬头：上海源铢）</option>
                                <option value="0" selected="selected">否</option>
                            </select>
                        </div>
                    </dd>
                    <dd class="layui-col-md3">
                        <div class="layui-col-xs4 text-right padding-right">
                            信保订单金额USD
                        </div>
                        <div class="layui-col-xs8">
                            <input type="text" name="creditGuaranteeAmount" id="creditGuaranteeAmount" value="0" autocomplete="off" lay-verify="required|number" class="layui-input">
                        </div>
                    </dd>
                </dl>
                <%--                over--%>


                <div class="layui-row">
                    <div class="layui-col-xs12">
                        <div class="layui-tab layui-tab-card">
                            <ul class="layui-tab-title">
                                <li class="layui-this">产品</li>
                                <li class="">费用</li>
                                <li class="">附件</li>
                                <li class="">日志</li>
                            </ul>
                            <div class="layui-tab-content">
                                <div  class="layui-tab-item  layui-show">
                                    <table class="layui-table" id="storageproducts" lay-filter="storageproductstable"></table>

                                    <div class="layui-tab layui-tab-card" id="hidden">
                                        <ul class="layui-tab-title">
                                            <li class="layui-this">产品规格配件</li>
                                        </ul>
                                        <div class="layui-tab-content">
                                            <div class="layui-tab-item layui-show">
                                                <table class="layui-table" id="productsaselect" lay-filter="productsatable"></table>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="cost" lay-filter="costtable"></table>
                                </div>
                                <div class="layui-tab-item">
                                    <table class="layui-table" id="attachment" lay-filter="attachmenttable"></table>
                                    <div class="padding text-right">
                                        <button type="button" class="layui-btn" lay-submit="" lay-filter="form-element">立即提交</button>
                                    </div>
                                </div>
                                <div class="layui-tab-item"><table class="layui-table" id="otherwarehouselog" lay-filter="logtable"></table></div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="layui-upload" id="attachmentupload" style="display: none;padding: 10px">
    <a type="button" class="layui-btn layui-btn-normal" id="uploadfile">选择文件</a>
    <div class="layui-upload-list">
        <table class="layui-table">
            <thead>
            <tr><th>文件名</th>
                <th>大小</th>
                <th>状态</th>
                <th>操作</th>
            </tr></thead>
            <tbody id="uploadlist"></tbody>
        </table>
    </div>
    <a type="button" class="layui-btn" id="testListAction">开始上传</a>
</div>
<script type="text/html" id="storageproductseditor">
    {{# if(isAdmin && d.status === -1){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="backEnd">取消终止</a>
    {{# } else if(isAdmin && parentStatus){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="end">终止</a>
    {{# } }}
</script>
<script type="text/html" id="productsaup">
    {{# if(isAdmin && d.status === -1){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="backEnd">取消终止</a>
    {{# } else if(isAdmin && parentStatus){ }}
    <a class="layui-btn layui-btn-sm layui-btn-normal" lay-event="end">终止</a>
    {{# } }}
</script>
<script type="text/html" id="attachmenttoolbar">
    <a class="layui-btn" data-type="getCheckData" lay-event="uploadfile">上传</a>
</script>
<script type="text/html" id="attachmenteditor">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="download">下载</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<%@ include file="../../tpl/foot.jsp"%>
<script src="statics/js/ExportBusiness/tpl/carryDetailEnd.js"></script>